package com.android.fitcontrol.bean;

public class User {
	
	public final static String TABLE_NAME = "user";
	
	public final static String _ID = "_id";
	public final static String USER_NAME = "userName";
	public final static String PASSWORD = "password";
	
	public final static int NUM_ID = 0;
	public final static int NUM_USER_NAME = 1;
	public final static int NUM_PASSWORD = 2;
	
	private int _id;
	private String userName;
	private String password;
	
	public int get_ID() {
		return this._id;
	}
	public void set_ID(int user_ID) {
		this._id = user_ID;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public void mergeIntoObject(User user){
		this.set_ID(user.get_ID());
		this.setUserName(user.getUserName());
		this.setPassword(user.getPassword());
	}
	
}
